package com.wangzhixuan.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author thomas_liu
 * @since 2018-07-21
 */
@TableName("t_datadic")
public class TDatadic extends Model<TDatadic> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("datadic_name")
	private String datadicName;
	@TableField("datadic_value")
	private String datadicValue;
	@TableField("create_time")
	private Date createTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDatadicName() {
		return datadicName;
	}

	public void setDatadicName(String datadicName) {
		this.datadicName = datadicName;
	}

	public String getDatadicValue() {
		return datadicValue;
	}

	public void setDatadicValue(String datadicValue) {
		this.datadicValue = datadicValue;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
